Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
SUMMARY: None
Purpose of change
Fixes #37039 - Activating electronic cigarette doesn't give all the effects expected.
Describe the solution
This was happening because effects are split between consuming a drug and using the drug.
The drug is used when it is consumed, but if you just use a drug through the 'a' key, you don't get the effects from consuming.
If something has uses (can be used from the 'a' menu) when being used, it always falls through to its "use function", therefore not being consumed.
So I just made it consume medication even if it has a use, because I couldn't think of any comestible meds where there's a distinction between using it and consuming it. I made this late at night so let me know if I missed something.
Describe alternatives you've considered
Didn't come up with any satisfying alternatives.
Testing
Take varying drugs, using and eating/consuming should be the same. Using caffeinated chewing gum for example should give the stimulant effect instead of doing nothing.